﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;

namespace Assets.Script.Human.Player.Action
{
    public class IdleAction : BasePlayerAction, IAction
    {
        public IdleAction(PlayerBody playerBody) : base(playerBody)
        {
        }

        public void Interrupt()
        {
            playerState.Idle = false;
        }

        public void OnEnter(ref object[] o)
        {
            playerState.Idle = true;
        }

        public void OnFixedUpdate()
        {
        }

        public void OnUpdate()
        {
           
        }
    }
}
